package com.ruoyi.an.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.an.mapper.AnSjFaceRgtMapper;
import com.ruoyi.an.domain.AnSjFaceRgt;
import com.ruoyi.an.service.IAnSjFaceRgtService;

/**
 * 人脸识别处理Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
@Service
public class AnSjFaceRgtServiceImpl implements IAnSjFaceRgtService 
{
    @Autowired
    private AnSjFaceRgtMapper anSjFaceRgtMapper;

    /**
     * 查询人脸识别处理
     * 
     * @param id 人脸识别处理主键
     * @return 人脸识别处理
     */
    @Override
    public AnSjFaceRgt selectAnSjFaceRgtById(Long id)
    {
        return anSjFaceRgtMapper.selectAnSjFaceRgtById(id);
    }

    /**
     * 查询人脸识别处理列表
     * 
     * @param anSjFaceRgt 人脸识别处理
     * @return 人脸识别处理
     */
    @Override
    public List<AnSjFaceRgt> selectAnSjFaceRgtList(AnSjFaceRgt anSjFaceRgt)
    {
        return anSjFaceRgtMapper.selectAnSjFaceRgtList(anSjFaceRgt);
    }

    /**
     * 新增人脸识别处理
     * 
     * @param anSjFaceRgt 人脸识别处理
     * @return 结果
     */
    @Override
    public int insertAnSjFaceRgt(AnSjFaceRgt anSjFaceRgt)
    {
        return anSjFaceRgtMapper.insertAnSjFaceRgt(anSjFaceRgt);
    }

    /**
     * 修改人脸识别处理
     * 
     * @param anSjFaceRgt 人脸识别处理
     * @return 结果
     */
    @Override
    public int updateAnSjFaceRgt(AnSjFaceRgt anSjFaceRgt)
    {
        return anSjFaceRgtMapper.updateAnSjFaceRgt(anSjFaceRgt);
    }

    /**
     * 批量删除人脸识别处理
     * 
     * @param ids 需要删除的人脸识别处理主键
     * @return 结果
     */
    @Override
    public int deleteAnSjFaceRgtByIds(Long[] ids)
    {
        return anSjFaceRgtMapper.deleteAnSjFaceRgtByIds(ids);
    }

    /**
     * 删除人脸识别处理信息
     * 
     * @param id 人脸识别处理主键
     * @return 结果
     */
    @Override
    public int deleteAnSjFaceRgtById(Long id)
    {
        return anSjFaceRgtMapper.deleteAnSjFaceRgtById(id);
    }
}
